# frozen_string_literal: true
ActiveAdmin.register_page "Dashboard" do
  menu priority: 8, label: proc { I18n.t("active_admin.dashboard") }

  content title: proc { I18n.t("active_admin.dashboard") } do
    div class: "blank_slate_container", id: "dashboard_default_message" do
      span class: "blank_slate" do
        h1 "绝不留恋、绝不亏损"

        h1 "单只股持仓不大于3w，一手1w，最多3手"
        h1 "补仓绝不亏损大于1%，补仓绝不大于2次"

        h3 "低开涨的只要慢，量能不足，无力，回点就可以卖，回到昨日收盘就坚决卖"
        h3 "保住盈利：跌破前一天最高点止盈"

        h4 "7月 增加购买数量，每天每只股票出手2次，每次8000-9000"
        h4 "7月 长期持仓一只股票做T持仓8000，网格交易"
        h4 "要敢于做反T，如果上升通道，T不到也要敢于买回"

      end
    end

    # Here is an example of a simple dashboard with columns and panels.
    #
    # columns do
    #   column do
    #     panel "Recent Posts" do
    #       ul do
    #         Post.recent(5).map do |post|
    #           li link_to(post.title, admin_post_path(post))
    #         end
    #       end
    #     end
    #   end

    #   column do
    #     panel "Info" do
    #       para "Welcome to ActiveAdmin."
    #     end
    #   end
    # end
  end # content
end
